package com.androinject.test.components;

public abstract class InsertService extends ValueService {
	
	protected ValueService first;
	protected ValueService second;
	
	public void setFirst(ValueService first) {
		this.first = first;
	}


	public void setSecond(ValueService second) {
		this.second = second;
	}
	
	
	protected String getStringToAppend(ValueService service) {
		if (service == null) {
			return "";
		}
		String value = service.getValue();
		return "(" + value + ")";
	}


	public ValueService getFirst() {
		return first;
	}


	public ValueService getSecond() {
		return second;
	}

	
}
